#[macro_export]
macro_rules! convert_option_field {
    ($dto:ident, $field:ident, $active_value:ident) => {
        $dto.$field.map_or(ActiveValue::$active_value(), |value| {
            ActiveValue::set(Some(value))
        })
    };
}
#[macro_export]
macro_rules! convert_field {
    ($dto:ident, $field:ident, $type:ident) => {
        ActiveValue::<$type>::set($dto.$field)
    };
}
